<template>
	<web-view :src="url"></web-view>
</template>

<script>
	export default {
		components:{
		},
		data() {
			return {
				url:'',//文本
			}
		},
		onLoad(option) {
			this.init();
			
		},
		methods: {
			// 初始化方法
			init(){
				this.url = "https://open.weixin.qq.com/connect/oauth2/authorize?appid="+this.$apiFun.APPID+"&redirect_uri="+this.$apiFun.XcxToGzhREDIRECT_URI+"&response_type=code&scope="+this.$apiFun.SCOPE+"&state="+this.$apiFun.STATE+"#wechat_redirect"
				console.log('this.url-----授权公众号头像',this.url)
			},
		},
	}
</script>

<style scoped lang="less">
	.vHtml{
		padding:30rpx;
		box-sizing: border-box;
	}
</style>
